/**
 * 给定位置问在哪
 */
#include <bits/stdc++.h>
using namespace std;

void work(){
    string s = "LR";
    string t = "UD";
    int a, b;
    cin >> a >> b;
    cout << s[a - 1] << t[b - 1] << endl;

    return;
}

int main(){
#ifndef ONLINE_JUDGE
    freopen("z.txt", "r", stdin);
#endif
    ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);	
    int nofkase = 1;
    // cin >> nofkase;
    while(nofkase--) work();
	return 0;
}